(bug 16720) Transcluded Special:NewPages processes "/username=". Patch submitted...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Tue, 6 Jan 2009 23:46:32 +0000 (23:46 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Tue, 6 Jan 2009 23:46:32 +0000 (23:46 +0000)
CREDITS
RELEASE-NOTES
includes/specials/SpecialNewpages.php

diff --git a/CREDITS b/CREDITS
index 3702afb..92bc76c 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -57,6 +57,7 @@ following names for their contribution to the product.
 == Patch Contributors ==
 * Agbad
 * Brad Jorsch
+* Brent G
 * Daniel Arnold
 * Danny B.
 * FunPika
index 88df507..1ea5d5d 100644 (file)
@@ -260,6 +260,7 @@ The following extensions are migrated into MediaWiki 1.14:
 * Make "Did you mean" search feature more noticeable
 * Added "Advanced search" link to the search form
 * (bug 2242) Add an expiry time to temporary passwords
+* (bug 16720) Transcluded Special:NewPages processes "/username="
 
 === Bug fixes in 1.14 ===
 
index ff5a43c..08e776d 100644 (file)
@@ -70,6 +70,8 @@ class SpecialNewpages extends SpecialPage {
                        // PG offsets not just digits!
                        if ( preg_match( '/^offset=([^=]+)$/', $bit, $m ) )
                                $this->opts->setValue( 'offset',  intval($m[1]) );
+                       if ( preg_match( '/^username=(.*)$/', $bit, $m ) )
+                               $this->opts->setValue( 'username', $m[1] );
                        if ( preg_match( '/^namespace=(.*)$/', $bit, $m ) ) {
                                $ns = $wgLang->getNsIndex( $m[1] );
                                if( $ns !== false ) {